#include<stdio.h>



int main()
{
    int arr[999] = { 0 };
    int arr1[9] = { 0 };
    int n = 0;
    int i = 0;
    while (n != -1)
    {

        scanf("%d", &n);
        arr[i] = n;
        i++;
    }
    for (i = 0; arr[i] != -1; i++)
    {
        int x = 0;
        x = 200 + arr[i] * 0.09;
        switch (x / 100)
        {


        case 2:
            arr1[0]++;
            break;
        case 3:
            arr1[1]++;
            break;
        case 4:
            arr1[2]++;
            break;
        case 5:
            arr1[3]++;
            break;
        case 6:
            arr1[4]++;
            break;
        case 7:
            arr1[5]++;
            break;
        case 8:
            arr1[6]++;
            break;
        case 9:
            arr1[7]++;
            break;
        default:
            arr1[8]++;
            break;


        }

    }
    printf("Employees in the range:\n");
    for (int j = 2; j <= 9; j++)
    {



            printf("$%d00-$%d99 : %d\n", j , j , arr1[j-2]);


    }
    printf("Over $1000: %d\n", arr1[8]);

    return 0;
}



